
package com.lpf.transaction.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.lpf.transaction.dao.LogDao;

@Service
public class LogService {

    @Autowired
    private LogDao logDao;

    @Transactional(propagation = Propagation.MANDATORY)
    public void addLog() {
        logDao.addLog();
    }
}
